// let aLink: HTMLElement = document.getElementById('link')
// let aLink = document.getElementById('link') as HTMLAnchorElement;
let aLink = <HTMLAnchorElement>document.getElementById('link');

aLink.href
